package com.ldfile.server.service.impl;

import com.ldfile.server.dto.BaseFileCompanyVO;
import com.ldfile.server.utils.ZipUtil;
import lombok.AllArgsConstructor;

@AllArgsConstructor
public class ZipfileTask implements Runnable {

    private BaseFileCompanyVO zipInfo;

    @Override
    public void run() {
        ZipUtil.zipFile(this.zipInfo);
    }
}
